package com.study.score.mapper;

import com.study.score.domain.LowScoreRecord;
import org.springframework.data.mongodb.repository.MongoRepository;

import java.util.Optional;

public interface LowScoreRecordRepository extends MongoRepository<LowScoreRecord, String> {
    Optional<LowScoreRecord> findByStudentNameAndCourseName(String studentName, String courseId);
}
